package com.taobao.ued.toy.dao;


import com.taobao.ued.toy.domain.Work;

import java.util.List;

public interface WorkDao {
	public Work get(int id);
	public List<Work> getsByDesigner(String designerId,int start,int end);
	public List<Work> getCoversByDesigner(String designerId);
	public int getsByDesignerCount(String designerId);
	public int add(Work w) throws Exception;
	public void delete(Work w);
	public void update(Work w) throws Exception;
}
